// 1.导入app
const app = require("./app");
const { SERVER_PORT, SERVER_NAME } = require("./config/server");

// 引入处理错误
require("./utils/handle-Error");

// 2.将app启动
app.listen(SERVER_PORT, () => {
  console.log(`${SERVER_NAME}启动成功~`);
});
